package com.example.prison.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.prison.entity.SecurityDeviceInfo;
import com.github.pagehelper.PageInfo;

/**
* @author jiang
* @description 针对表【security_device_info】的数据库操作Service
* @createDate 2023-04-19 11:31:11
*/
public interface SecurityDeviceInfoService extends IService<SecurityDeviceInfo> {

    PageInfo<SecurityDeviceInfo> get(int pageNumber, int pageSize, String deviceName, String deviceNumber);

    int add(SecurityDeviceInfo securityDevice);

    void delete(Integer[] ids);

    int update(SecurityDeviceInfo securityDevice, Integer deviceId);

    SecurityDeviceInfo getById(Integer departId);

    PageInfo<SecurityDeviceInfo> getByName(int pageNumber, int pageSize, String deviceName);

    PageInfo<SecurityDeviceInfo> getByNumber(int pageNumber, int pageSize, String deviceNumber);
    SecurityDeviceInfo getOneByNumber(String deviceNumber);

    PageInfo<SecurityDeviceInfo> getStatus(int pageNumber, int pageSize);

}
